package com.eastcom.providor.dao;

import java.util.Date;
import java.util.List;

import com.eastcom.bm.atom.DataAbnormal;
import com.eastcom.client.DataAbnormalBean;

public interface IDataAbnormalDao {
	
	public List<DataAbnormalBean> getDataAbnormalBeanByParams(String datasetID,Date start,Date end) throws Exception;
	
	public List<DataAbnormalBean> getDataAbnormalBeanByParams(String datasetID, Date start, Date end,int startRow,int endRow)throws Exception;
	
	public int getCountDataAbnormalBeanByParams(String datasetID, Date start, Date end)throws Exception ;
	
	public List<DataAbnormal> getAllDataAbnormals() throws Exception;
	
	public List<DataAbnormal> getDataAbnormals(String datasetID,Date start,Date end);
	
	public List<DataAbnormal> getAllDataAbnormals(Date start,Date end);

	public void removeDataAbnormal(String dataSetId, String kpiId, String neId, Date timeStamp)throws Exception;
	
	public void removeIntegerAbnormal(String dataSetId,Date timeStamp)throws Exception;
	
	public void removeIntegerAbnormals(String dataSetId, List<Date> timeStamps) throws Exception ;
	
	public void removeIntegerAbnormalByDataSetTimeStampExp(List<String> dataSetTimeStamp) throws Exception;
}
